package com.jiabo.pojo;


import javax.sql.DataSource;
import java.util.HashMap;
import java.util.Map;

public class Configuration {
    private DataSource dataSource;

    /**
     * key: statmentId value: 封装好的mappedstatement对象
     */
    Map<String, MappedStatement> mappdeStatementMap = new HashMap<>();

    public DataSource getDataSource() {
        return dataSource;
    }

    public void setDataSource(DataSource dataSource) {
        this.dataSource = dataSource;
    }

    public Map<String, MappedStatement> getMappdeStatementMap() {
        return mappdeStatementMap;
    }

    public void setMappdeStatementMap(Map<String, MappedStatement> mappdeStatementMap) {
        this.mappdeStatementMap = mappdeStatementMap;
    }
}
